/**
 * 与入库相关的后端接口调用
 */
import instance from '@/utils/http'
import { addAssetStockIn,updateAssetStockIn,getAssetStockInList} from '@/api/url'

 // 用户提交入库申请        
export const addAssetStockInAPI = (data) => {
    return instance({
        url: addAssetStockIn,
        method: 'post',
        data: data
    })
}

// 管理员审核入库申请          
export const updateAssetStockInAPI = (data) => {
    return instance({
        url: updateAssetStockIn,
        method: 'put',
        data: data
    })
}

//管理员查看入库表      
export const getAssetStockInListAPI = (data) => {
    return instance({
        url: getAssetStockInList,
        method: 'get',
        data: data
    })
}